//
//  WBPictureModel.swift
//  微博Demo
//
//  Created by 花化华 on 2016/11/27.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class WBPictureModel: NSObject {

    var middle_pic: String?
    //缩略图片地址，没有时不返回此字段
    var thumbnail_pic: String? {
        didSet {
            middle_pic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/bmiddle/")
        }
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["thumbnail_pic", "middle_pic"]).description
    }
    
}
